/*
 * vuex的store对象
 */
import Vue from 'vue'
import Vuex from 'vuex'

import state from './state'
import actions from './actions'
import mutations from './mutations'
import getters from './getters'

Vue.use(Vuex)

export default new Vuex.Store({ // 传配置对象
  actions,
  mutations,
  getters,
  state
})
